/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-24 19:10:46
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-24 19:13:29
 */
public interface JDK8IAction {
    //public static final
    //静态常量
    String NUM = "0";
    //抽象方法
    //public abstract
    void start();
    void end();

    //jdk8中。接口可以添加默认方法和静态方法
    public default void dFun(){
        //默认方法
        System.out.println("dFun");
    }
    public static void sFun(){
        //静态方法
        System.out.println("sFun");
    }
}
